package org.mfw.ddm.amp.mdc.event
{
	import flash.events.Event;
	
	import org.mfw.ddm.amp.mdc.core.AMPFunctions;
	
	/**
	 * Events for Resulthandling of AMPConnector
	 * */
	public class AMPEvent extends Event
	{
		public static const AMP_RESULT:String = "amp_result";
		public static const AMP_ERROR:String = "amp_error";
		public static const AMP_HANDSHAKE:String = AMPFunctions.AMP_HANDSHAKE;
		public static const AMP_ARTISTS:String = AMPFunctions.AMP_ARTISTS;
		public static const AMP_ARTIST_SONGS:String = AMPFunctions.AMP_ARTIST_SONGS;
		public static const AMP_ARTIST_ALBUMS:String = AMPFunctions.AMP_ARTIST_ALBUMS;
		public static const AMP_ALBUMS:String = AMPFunctions.AMP_ALBUMS;
		public static const AMP_ALBUM_SONGS:String=AMPFunctions.AMP_ALBUM_SONGS;
		public static const AMP_GENRES:String =AMPFunctions.AMP_GENRES;
		public static const AMP_GENRE:String =AMPFunctions.AMP_GENRE;
		public static const AMP_GENRE_ARTISTS:String=AMPFunctions.AMP_GENRE_ARTISTS;
		public static const AMP_GENRE_ALBUMS:String=AMPFunctions.AMP_GENRE_ALBUMS;
		public static const AMP_GENRE_SONGS:String=AMPFunctions.AMP_GENRE_SONGS;
		public static const AMP_SONG:String=AMPFunctions.AMP_SONG;
		public static const AMP_URL_TO_SONG:String=AMPFunctions.AMP_URL_TO_SONG;
		public static const AMP_PLAYLISTS:String=AMPFunctions.AMP_PLAYLISTS;
		public static const AMP_PLAYLIST:String=AMPFunctions.AMP_PLAYLIST;
		public static const AMP_PLAYLIST_SONGS:String=AMPFunctions.AMP_PLAYLIST_SONGS;
		public static const AMP_SEARCH_SONGS:String=AMPFunctions.AMP_SEARCH_SONGS;
		
		
		protected var _object:Object;
		protected var _id:Number
		
		
		public function AMPEvent(type:String, ID:Number ,object:Object,bubbles:Boolean=false, cancelable:Boolean=false)
		{
			this._id=ID;
			this._object=object;
			super(type, bubbles, cancelable);
		}
		
		public function get object():Object {
			return this._object;
		}
		
		public function get id():Number{
			return this._id;
		}
		
		
		
	}
}